 
 <div class="page-content" v-if="data">
<!-- 商品列表 -->
<div class="cart-goods">
<div class="cart-title" bindtap='openlocation' style="border-bottom:1px solid #eee; ">
<img style="margin-top: 5px"   class='ico s_left' src='/pages/user/images/112.png'/>
 <span class="s_left"> {{data.shop.name}}  </span>
 <span class="s_right color_0">{{data.sub_order.statusText}}</span>
  <div class="clear"></div>
</div>
 
<div class="goods-item mgt10" v-for="item in data.sub_order.goods_info">
        <image class='image' :src='item.default_img+"?imagediv2/1/w/160/h/160"'></image>
        <div class='goods-info'>
          <div class="title1 text-over-hidden" >{{item.goods_name}}</div>
          <div class="light">{{item.attrs}}</div>
           <div class='goods-count'>¥{{item.total_price}} x{{item.count}}</div>
         </div>
        
          
         <div class="clear"></div>
 </div>
 
 <div class="line mgt10"></div>
<div class='charge-item' v-for="charge in data.sub_order.promotion_info">
 <div class="charge-item-left">{{charge.name}}</div>
 <div class="charge-item-right">{{charge.showPrice}}</div>
  <div class="clear"></div>
</div>
 

<div class='goods-total-price'>
   共计{{data.sub_order.goods_info.length}}件商品 ， 小计{{data.order_amount}}元 
</div>


 <div class="goods-bottom">
       <span v-if="data.paytypeText"> 支付方式：</span>  <span class=" color_0">{{data.paytypeText}}</span> <span class='pd5-h'></span>  <span> 支付状态：</span>  <span class=" color_0">{{data.payStatusText}}</span> 
    </div>
    <div class="line" v-if="data.status>0 && data.status<4"></div>
<!-- 操作 -->
    <div class="goods-bottom color_0"></div>
    <div class="goods-btns">
          
         <div class="order_btn btn border_none" @click='eat_in_hall_receiving(data.order_sn)'  v-if="data.sub_order.status==2"  :shop_id="data.shop_id"  :order_sn="data.order_sn">
            接单
        </div>


        <div class="order_btn btn2 border_none" @click='show_refund_money'  v-if="data.status>0 && data.status!=4"  :refund_money="data.order_amount"  :order_sn="data.order_sn" :paystatus="data.paystatus">
            取消订单
        </div>


         <div class="order_btn btn border_none"  @click='eat_in_hall_complete(data.order_sn)'  v-if="data.sub_order.status==5"  :shop_id="data.shop_id"  :order_sn="data.order_sn"  >
            完成
        </div>


        <div class="clear"></div>
    </div>
<!-- 操完 -->
</div>


<div class='remark' >
   <div class="remark-text">备注:{{data.sub_order.remark?data.sub_order.remark:'无'}}</div>
   <div class='clear'></div>
</div>

   



  <!--退款弹出层-->
   <div @click='popup3=0' :class="popup3==1?'popupBg':'popupHide'"></div>
  <div :class="popup3==1?'popup modal-in bw':'popup popupHide'">

       <div class="list-li">
         
             <div class="li"  >
                <div class="li-input-text">备注</div>
                <div class="li-input">
                  <input placeholder='请输入退回备注'   v-model="remark"  name='remark'></input>
                </div>
                <div class="clear"></div>
             </div>

              <div class="li"  >
                <div class="li-input-text">退回金额</div>
                <div class="li-input">
                  <input placeholder='退回金额'  name="refund_money" v-model="refund_money"  ></input>
                </div>
                <div class="clear"></div>
             </div>
            <div class="btn_group">
              <div class="order_btn btn" @click='eat_in_hall_cancel'>提交</div>
               <div class="order_btn" @click='hide_refund_money'>取消</div>
               <div class="clear"></div>
            </div>
         

      </div>
       
  </div>
  <!--弹出层--> 
    
 
</div>
 